﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Office.Tools.Ribbon;
using Excel = Microsoft.Office.Interop.Excel;
using Office = Microsoft.Office.Core;
using Microsoft.Office.Tools.Excel;
using System.Windows.Forms;

namespace 多行记录合并
{
    public partial class Ribbon1
    {
        private void Ribbon1_Load(object sender, RibbonUIEventArgs e)
        {
        }
        
        private void button1_Click_1(object sender, RibbonControlEventArgs e)
        {
            MergeText.DoMergeText(cbHaveHead.Checked);
        }

        public bool IsHaveHead()
        {
            return cbHaveHead.Checked;
        }

    }
}
